//
//  StartPageHandle.m
//  JJHW_coreData
//
//  Created by lizhenqiang on 16/4/21.
//  Copyright © 2016年 HFKJ_LZQ. All rights reserved.
//

#import "StartPageHandle.h"
#import "HZUIViewForGuide.h"
@interface StartPageHandle()<HZViewForGuideDataSource>

@end

@implementation StartPageHandle


- (void)loadGuideView:(UIView *)view
{
    //    NSString *FirstUsedApp =[[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"];
    if (![[NSUserDefaults standardUserDefaults] boolForKey:kVersion])
    {
        HZUIViewForGuide *hzviewForGuide =[[HZUIViewForGuide alloc] initWithFrame:CGRectMake(0, 0, DeviceWidth, DeviceHeight)];
        hzviewForGuide.tag = 3001;
        hzviewForGuide.superflag = @"YINDAO";
        hzviewForGuide.numofpages = 4;
        hzviewForGuide.dataSource =self;
        [hzviewForGuide initSubviews:view];
    }
    
}
-(NSArray *)ViewForGuideArrayPics:(HZUIViewForGuide *)viewForGuide
{
    
    if (viewForGuide.tag == 3001) {
        
        if([UIDevice currentDevice].isIphone4){
            return @[@"yindao1_4s.png",@"yindao2_4s.png",@"yindao3_4s.png",@"yindao4_4s.png"];
        } else{
            
            return @[@"yindao1.png",@"yindao2.png",@"yindao3.png",@"yindao4.png"];
        }
    }
    return nil;
}


@end
